package com.hmkj.core.po.dailyReport;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.function.Consumer;


/**
 * 日报表实体信息<br>
 *
 * @author lizhijie
 * @date   2018-07-08 04:33:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "日报表")
@Table(name = "s_daily_report")
public class DailyReport extends GenericPo<Integer> {

    public static final String TABLE_NAME = "s_daily_report";

	
	/**盈利**/
	@ApiModelProperty(value = "盈利")
	private BigDecimal profit;
	/**综合管理费**/
	@ApiModelProperty(value = "综合管理费")
	private BigDecimal comprehensive;
	/**递延费**/
	@ApiModelProperty(value = "递延费")
	private BigDecimal defer;
	/**佣金**/
	@ApiModelProperty(value = "佣金")
	private BigDecimal commission;
	/**印花税**/
	@ApiModelProperty(value = "印花税")
	private BigDecimal stampTax;
	/**过户费**/
	@ApiModelProperty(value = "过户费")
	private BigDecimal transferFee;
	/**来源**/
	@ApiModelProperty(value = "来源")
	private String source;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public DailyReport(){}

    public DailyReport(Consumer<DailyReport> consumer){
    consumer.accept(this);
    }
}

